package com.xydtech.ecard.merchant.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xydtech.common.annotation.Excel;
import com.xydtech.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 电子名片企业场所信息对象 ecard_enterprise_location
 *
 * @author yuzhiguo
 * @date 2024-09-13 下午4:30
 */
public class EcardEnterpriseLocation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 场所主键ID */
    private Long id;

    /** 场所名称 */
    @Excel(name = "场所名称")
    private String locationName;

    /** 场所简称 */
    @Excel(name = "场所简称")
    private String locationAbbreviation;

    /** 场所位置坐标 */
    @Excel(name = "场所位置坐标")
    private String locationCoordinate;

    /** 场所地址 */
    @Excel(name = "场所地址")
    private String locationAddress;

    /** 场所照片 */
    private String locationPic;

    /** 场所层数 */
    @Excel(name = "场所层数")
    private Integer locationLayers;

    /** 联系人姓名 */
    @Excel(name = "联系人姓名")
    private String locationContacts;

    /** 联系人电话 */
    @Excel(name = "联系人电话")
    private String locationPhone;

    /** 场所类型 */
    private Integer locationType;

    /** 场所类型 */
    @Excel(name = "场所类型")
    private String locationTypeName;

    /** 创建人注册ID */
    private Long creatorId;

    /** 管户人id */
    private Long managementPersonnelId;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationTime;

    /** 创建人机构id */
    private Long deptId;

    /** 状态0停用,1启用 */
    private Integer state;

    /** 状态0停用,1启用 */
    @Excel(name = "状态")
    private String stateName;

    /** 客户经理 */
    @Excel(name = "客户经理")
    private String userName;

    /** 机构名称 */
    @Excel(name = "机构名称")
    private String deptName;

    /** 字典机构查询条件 */
    private Long dictDeptId;
    /**
     * 用户编号
     */
    private Long userId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setLocationName(String locationName)
    {
        this.locationName = locationName;
    }

    public String getLocationName()
    {
        return locationName;
    }
    public void setLocationAbbreviation(String locationAbbreviation)
    {
        this.locationAbbreviation = locationAbbreviation;
    }

    public String getLocationAbbreviation()
    {
        return locationAbbreviation;
    }
    public void setLocationCoordinate(String locationCoordinate)
    {
        this.locationCoordinate = locationCoordinate;
    }

    public String getLocationCoordinate()
    {
        return locationCoordinate;
    }
    public void setLocationAddress(String locationAddress)
    {
        this.locationAddress = locationAddress;
    }

    public String getLocationAddress()
    {
        return locationAddress;
    }

    public String getLocationPic() {
        return locationPic;
    }

    public void setLocationPic(String locationPic) {
        this.locationPic = locationPic;
    }

    public void setLocationLayers(Integer locationLayers)
    {
        this.locationLayers = locationLayers;
    }

    public Integer getLocationLayers()
    {
        return locationLayers;
    }
    public void setLocationContacts(String locationContacts)
    {
        this.locationContacts = locationContacts;
    }

    public String getLocationContacts()
    {
        return locationContacts;
    }
    public void setLocationPhone(String locationPhone)
    {
        this.locationPhone = locationPhone;
    }

    public String getLocationPhone()
    {
        return locationPhone;
    }
    public void setLocationType(Integer locationType)
    {
        this.locationType = locationType;
    }

    public Integer getLocationType()
    {
        return locationType;
    }

    public String getLocationTypeName() {
        return locationTypeName;
    }

    public void setLocationTypeName(String locationTypeName) {
        this.locationTypeName = locationTypeName;
    }

    public void setCreatorId(Long creatorId)
    {
        this.creatorId = creatorId;
    }

    public Long getCreatorId()
    {
        return creatorId;
    }
    public void setManagementPersonnelId(Long managementPersonnelId)
    {
        this.managementPersonnelId = managementPersonnelId;
    }

    public Long getManagementPersonnelId()
    {
        return managementPersonnelId;
    }
    public void setCreationTime(Date creationTime)
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime()
    {
        return creationTime;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setState(Integer state)
    {
        this.state = state;
    }

    public Integer getState()
    {
        return state;
    }

    public String getStateName() {
        return stateName;
    }

    public void setStateName(String stateName) {
        this.stateName = stateName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public Long getDictDeptId() {
        return dictDeptId;
    }

    public void setDictDeptId(Long dictDeptId) {
        this.dictDeptId = dictDeptId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("locationName", getLocationName())
                .append("locationAbbreviation", getLocationAbbreviation())
                .append("locationCoordinate", getLocationCoordinate())
                .append("locationAddress", getLocationAddress())
                .append("locationPic", getLocationPic())
                .append("locationLayers", getLocationLayers())
                .append("locationContacts", getLocationContacts())
                .append("locationPhone", getLocationPhone())
                .append("locationType", getLocationType())
                .append("locationTypeName", getLocationTypeName())
                .append("creatorId", getCreatorId())
                .append("managementPersonnelId", getManagementPersonnelId())
                .append("creationTime", getCreationTime())
                .append("deptId", getDeptId())
                .append("state", getState())
                .append("remark", getRemark())
                .append("stateName", getStateName())
                .append("userName", getUserName())
                .append("deptName", getDeptName())
                .append("dictDeptId", getDictDeptId())
                .append("userId", getUserId())
                .toString();
    }
}
